//
//  IGcheckPhoneApi.m
//  jingdongfang
//
//  Created by MTiMac02 on 2017/9/8.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGcheckPhoneApi.h"

@implementation IGcheckPhoneApi
- (id)initWithUsername:(NSString *)username {
    self = [super init];
    if (self) {
        _username = username;
    }
    return self;
}
- (NSString *)requestUrl {
    return @"member/checkPhone";
}

- (BOOL)isNeedHub {
    return NO;
}

- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodPOST;
}

- (id)requestArgument {
    return @{
             @"phoneNo":_username ,
             };
}

@end



@implementation IGcheckPhoneResp

+ (BOOL)propertyIsOptional:(NSString *)propertyName {
    return YES;
}

@end
